package com.zktr.pojo;

import java.math.BigDecimal;

public class Cart {
	private int recid;
	private int userid;
	private int goodsid;
	private String goodssn;
	private String goodsname;
	private BigDecimal marketprice;
	private int goodsnumber;
	private String goodsattr;
	private int parentid;
	private int canhandsel;
	public int getRecid() {
		return recid;
	}
	public void setRecid(int recid) {
		this.recid = recid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}
	public String getGoodssn() {
		return goodssn;
	}
	public void setGoodssn(String goodssn) {
		this.goodssn = goodssn;
	}
	public String getGoodsname() {
		return goodsname;
	}
	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}
	public BigDecimal getMarketprice() {
		return marketprice;
	}
	public void setMarketprice(BigDecimal marketprice) {
		this.marketprice = marketprice;
	}
	public int getGoodsnumber() {
		return goodsnumber;
	}
	public void setGoodsnumber(int goodsnumber) {
		this.goodsnumber = goodsnumber;
	}
	public String getGoodsattr() {
		return goodsattr;
	}
	public void setGoodsattr(String goodsattr) {
		this.goodsattr = goodsattr;
	}
	public int getParentid() {
		return parentid;
	}
	public void setParentid(int parentid) {
		this.parentid = parentid;
	}
	public int getCanhandsel() {
		return canhandsel;
	}
	public void setCanhandsel(int canhandsel) {
		this.canhandsel = canhandsel;
	}
	public Cart(int recid, int userid, int goodsid, String goodssn, String goodsname, BigDecimal marketprice,
			int goodsnumber, String goodsattr, int parentid, int canhandsel) {
		this.recid = recid;
		this.userid = userid;
		this.goodsid = goodsid;
		this.goodssn = goodssn;
		this.goodsname = goodsname;
		this.marketprice = marketprice;
		this.goodsnumber = goodsnumber;
		this.goodsattr = goodsattr;
		this.parentid = parentid;
		this.canhandsel = canhandsel;
	}
	public Cart() {
	}
	@Override
	public String toString() {
		return "Cart [recid=" + recid + ", userid=" + userid + ", goodsid=" + goodsid + ", goodssn=" + goodssn
				+ ", goodsname=" + goodsname + ", marketprice=" + marketprice + ", goodsnumber=" + goodsnumber
				+ ", goodsattr=" + goodsattr + ", parentid=" + parentid + ", canhandsel=" + canhandsel + "]";
	}
	
}
